<template>

</template>

<script>
  export default {
    name: "logout",
    created: function () {

      // 注销登录
      this.$store.dispatch('LogOut').then(() => {
        this.$router.push({path: '/login'});
      }).catch(err => {
        this.$message.error("链接超时，请刷新尝试");
      });

    },
  }
</script>
<style rel="stylesheet/scss" lang="less" scoped>
</style>
